package com.carful.xigua.modules.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.carful.xigua.modules.common.entity.BaseEntity;

import java.util.List;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ad
 * @since 2024-07-11
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("carful_role")
public class Role extends BaseEntity<Role> {

    /**
     * 角色唯一键
     */
    @TableField("value")
    private String value;

    /**
     * 角色名
     */
    @TableField("name")
    private String name;

    /**
     * 角色描述
     */
    @TableField("notes")
    private String notes;



    @TableField(exist = false)
    private List<Auth> auths;
}
